package com.youka.bussiness.dao.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.*;

import java.time.LocalDateTime;
import java.math.BigDecimal;

import lombok.EqualsAndHashCode;


/**
 * 订单信息表 表实体
 *
 * @author lfc
 * @date 2024-06-30 16:47:28
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("orders")
public class Orders extends Model<Orders> {
private static final long serialVersionUID=1L;

    
    /**
     * 订单ID
     */
    @TableId(type = IdType.AUTO)
    private Integer orderId;
        
    /**
     * 订单编号
     */
    private String orderNumber;
        
    /**
     * 商品名称
     */
    private String productName;
        
    /**
     * 券面金额
     */
    private BigDecimal couponAmount;
        
    /**
     * 数量
     */
    private Integer quantity;
        
    /**
     * 订单总价
     */
    private BigDecimal totalPrice;
        
    /**
     * 下单人
     */
    private String customerName;
        
    /**
     * 下单人手机号
     */
    private String customerPhone;
        
    /**
     * 下单时间
     */
    private LocalDateTime orderTime;
        
    /**
     * 订单状态
     */
    private String orderStatus;
    }
